package com.ourhours.message.service;

import com.ourhours.message.domain.EmailSend;
import com.baomidou.mybatisplus.service.IService;
import com.ourhours.message.dto.EmailDto;

/**
 * <p>
 * 邮件发送记录表 服务类
 * </p>
 *
 * @author dalong.wang
 * @since 2018-03-20
 */
public interface EmailSendService extends IService<EmailSend> {

    void sendEmail(EmailDto dto);

    void setEmailSendStatus(Long id, Integer status, String errCode, String reason);

}
